//package com.invengo.module_check.ui.fragment.forced.fragment;
//
//import android.os.Bundle;
//import android.view.LayoutInflater;
//import android.view.ViewGroup;
//
//import androidx.annotation.Nullable;
//import androidx.navigation.fragment.NavHostFragment;
//
//import com.invengo.module_check.BR;
//import com.invengo.module_check.R;
//import com.invengo.module_check.data.entity.ActionArgs;
//import com.invengo.module_check.data.entity.BundleKey;
//import com.invengo.module_check.databinding.FragmentForcePositioningRevokeBinding;
//import com.invengo.library_rfid.classify.AnalyzeImpl;
//
//import java.io.Serializable;
//
//import me.goldze.mvvmhabit.base.BaseFragment;
//import me.goldze.mvvmhabit.bus.LiveDataBus;
//import me.goldze.mvvmhabit.bus._CacheTag;
//import me.goldze.mvvmhabit.utils.KLog;
//
//public class ForcePosRevokeFragment extends BaseFragment<FragmentForcePositioningRevokeBinding, ForcePosViewModel> {
//    @Override
//    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
//        return R.layout.fragment_force_positioning_revoke;
//    }
//
//    @Override
//    public int initVariableId() {
//        return BR.viewModel;
//    }
//
//    @Override
//    public void changeModel() {
//        KLog.e("xxxxxxxxxxxxxx");
//        viewModel.rfidService.changeModelCache(AnalyzeImpl.TO_BOOK);
//    }
//
//    @Override
//    public void initViewObservable() {
//        viewModel.ui.nextEvent.observe(this, bookBeans -> {
//            Bundle bundle = new Bundle();
//            bundle.putSerializable(BundleKey.KEY_BOOKS, (Serializable) bookBeans);
//            bundle.putSerializable(BundleKey.KEY_ACTION, ActionArgs.ACTION_FORCE);
//            bundle.putSerializable(BundleKey.KEY_REVOKE, true);
//            NavHostFragment.findNavController(this).navigate(ActionArgs.ACTION_FORCE.getResultAction(), bundle);
//        });
//    }
//}
